//
//  ViewController.m
//  标签列表
//
//  Created by holier_zyq on 16/8/31.
//  Copyright © 2016年 holier_zyq. All rights reserved.
//

#import "ViewController.h"
#import "TagsView.h"
@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.view.backgroundColor = [UIColor cyanColor];
    NSArray *array = @[@"一个水杯和茶叶",@"什么名字"];
    TagsView *tagView = [[TagsView alloc] initWithFrame:CGRectMake(0, 0, 150, 80)];
//    tagView.layer.borderWidth = 1;
//    tagView.layer.borderColor = [UIColor redColor].CGColor;
    tagView.center = self.view.center;
    [self.view addSubview:tagView];
    [tagView addTagLabelWithArray:array];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
